﻿<%@ Control Language="C#" AutoEventWireup="true" CodeFile="Tim.ascx.cs" Inherits="UserControl_Tim" %>
<style type="text/css">
    .style3
    {
        width: 761px;
    }
    .style5
    {
        width: 761px;
        height: 23px;
    }
    .style6
    {
        width: 308px;
    }
</style>

<table>
    <tr>
        <td class="style3" align="left">
            Chủ đề</td>
    </tr>
    <tr>
        <td class="style3" align="left">
            <asp:DropDownList ID="ddlchude" runat="server" Width="155px">
            </asp:DropDownList>
        </td>
    </tr>
    <tr>
        <td class="style3" align="left" style="font-size: 11pt">
            Từ giá :</td>
    </tr>
    <tr>
        <td class="style3" align="left" style="font-size: 11pt">
            <asp:TextBox ID="txttugia" runat="server" Width="155px"></asp:TextBox>
            VNĐ<asp:RegularExpressionValidator ID="RegularExpressionValidator1" 
                runat="server" ControlToValidate="txttugia" Display="Dynamic" 
                ErrorMessage="Không được nhập chữ" ValidationExpression="[0-9]+"></asp:RegularExpressionValidator>
        </td>
    </tr>
    <tr>
        <td class="style5" align="left" style="font-size: 11pt">
            Đến giá :</td>
    </tr>
    <tr>
        <td class="style5" align="left" style="font-size: 11pt">
            <asp:TextBox ID="txtdengia" runat="server" Width="155px"></asp:TextBox>
            VNĐ <asp:CompareValidator ID="CompareValidator1" runat="server" 
                ControlToCompare="txttugia" ControlToValidate="txtdengia" Display="Dynamic" 
                ErrorMessage="Giá đến &gt; Giá từ" Operator="GreaterThanEqual" Type="Integer"></asp:CompareValidator>
            <asp:RegularExpressionValidator ID="RegularExpressionValidator2" runat="server" 
                ControlToValidate="txtdengia" Display="Dynamic" 
                ErrorMessage="Không được nhập chữ" ValidationExpression="[0-9]+"></asp:RegularExpressionValidator>
        </td>
    </tr>
    <tr>
        <td class="style3" align="left">
            <asp:Button ID="btntim" runat="server" Text="Tìm " onclick="btntim_Click" 
                ForeColor="DimGray" Height="25px" Width="64px" />
        </td>
    </tr>
</table>

